/*
**  File: AquaStrucset.h
*/
void StrucsetInit( Strucset *setptr, char *set_name, const Boolean putlist );
Strucset *WhichStrucset( void );
Strucset *StrucsetFind( char *set_name );
void StrucsetList( void );
void StrucsetStats( Strucset *setptr );
void StrucsetCreate( Strucset *set, const int atom_count, const int struc_count );
Mol *MolCreate( const int atom_count );
void MolCopy( Mol *new_variable, Mol *old );
void StrucsetCopy( Strucset *new_variable, Strucset *old, const int atom_count );
void StrucsetJoin( Strucset *new_variable, Strucset *aa, Strucset *bb );
void StrucsetSort( Strucset *new_variable, Strucset *old, Mol *sort_mol );
Boolean StrucsetOK( Strucset *setptr, const int type );
void DefaultStrucsetIdent( Strucset *set );
void AddAtomToSet( Strucset *setptr, Atom *atomptr );
void AddAtomSToSet( Strucset *setptr, Atom *atomptr, const int count );
void AddCoordToSet( Strucset *setptr, Struc *strucptr, Coord *coordptr );
void AddCoordSToSet( Strucset *setptr, Struc *strucptr, Coord *coordptr,
                     const int count );
void AddAtomSToMol( Mol *molptr, Atom *atomptr, const int count, const int set_atom_count );
void DeleteMol( Mol *molptr );
Boolean ProcessStrucsetFile( Strucset *set, const int strucs_to_alloc );
Boolean ReadAquaSet( Strucset *set, const int strucs_to_alloc );
Boolean WriteAquaSet( Strucset *set, const Boolean toscreen, const Boolean reuse );
Boolean ReadStrucset( FILE *fp, Strucset *set, int strucs_to_alloc );
void WriteStrucset( FILE *fp, Strucset *set );
void ReadMol( FILE *fp, Mol *mol, const int count );
void WriteMol( FILE *fp, Mol *mol );
void ReadAtoms( FILE *fp, Atom *atoms, const int atom_count );
void WriteFAtoms( FILE *fp, Atom *atoms, int count );
void WriteAtoms( FILE *fp, Atom *atoms, int count );
Status ReadAtom( FILE *fp, Atom *atom );
void WriteFAtom( FILE *fp, Atom *atom, const int which );
void WriteAtom( FILE *fp, Atom *atom, const int which );
void WriteFResidue( FILE *fp, Residue *residue );
void WriteResidue( FILE *fp, Residue *residue );
Struc *ReadStruc( FILE *fp, Struc *struc, const int count );
Struc *WriteStruc( FILE *fp, Struc *struc );
void ReadCoords( FILE *fp, Coord *coords, const int atom_count );
void WriteCoords( FILE *fp, Coord *coords, int count );
void RenumResidues( Strucset *set );
